home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / rhythmbox.postrm < prev    next >
Encoding:
Text File  |  2009-04-07  |  1.3 KB  |  46 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_installmenu
  4. if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
  5. # End automatically added section
  6. # Automatically added by dh_installmime
  7. if which update-mime >/dev/null 2>&1; then update-mime; fi
  8. # End automatically added section
  9. # Automatically added by dh_scrollkeeper
  10. if [ "$1" = "remove" ] && which scrollkeeper-update >/dev/null 2>&1; then
  11.     scrollkeeper-update -q
  12. fi
  13. # End automatically added section
  14. # Automatically added by dh_gconf
  15. if which update-gconf-defaults >/dev/null 2>&1; then
  16.     update-gconf-defaults
  17. fi
  18. # End automatically added section
  19. # Automatically added by dh_gconf
  20. if [ "$1" = purge ]; then
  21.     OLD_DIR=/etc/gconf/schemas
  22.     SCHEMA_FILES="rhythmbox.schemas "
  23.     if [ -d $OLD_DIR ]; then
  24.         for SCHEMA in $SCHEMA_FILES; do
  25.             rm -f $OLD_DIR/$SCHEMA
  26.         done
  27.         rmdir -p --ignore-fail-on-non-empty $OLD_DIR
  28.     fi
  29. fi
  30. # End automatically added section
  31. # Automatically added by dh_desktop
  32. if [ "$1" = "remove" ] && which update-desktop-database >/dev/null 2>&1 ; then
  33.     update-desktop-database -q
  34. fi
  35. # End automatically added section
  36. # Automatically added by dh_icons
  37. if which update-icon-caches >/dev/null 2>&1 ; then
  38.     update-icon-caches /usr/share/icons/hicolor
  39. fi
  40. # End automatically added section
  41. # Automatically added by dh_makeshlibs
  42. if [ "$1" = "remove" ]; then
  43.     ldconfig
  44. fi
  45. # End automatically added section
  46.